package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.WmsWarehouseRack;
import com.ruoyi.system.domain.vo.SelectVo;

import java.util.List;

/**
 * 货架信息Service接口
 *
 * @author ruoyi
 * @date 2025-06-17
 */
public interface IWmsWarehouseRackService
{
    /**
     * 查询货架信息
     *
     * @param rackId 货架信息主键
     * @return 货架信息
     */
    public WmsWarehouseRack selectWmsWarehouseRackByRackId(Long rackId);

    /**
     * 查询货架信息列表
     *
     * @param wmsWarehouseRack 货架信息
     * @return 货架信息集合
     */
    public TableDataInfo<WmsWarehouseRack> selectWmsWarehouseRackList(WmsWarehouseRack wmsWarehouseRack,PageQuery pageQuery);

    /**
     * 新增货架信息
     *
     * @param wmsWarehouseRack 货架信息
     * @return 结果
     */
    public int insertWmsWarehouseRack(WmsWarehouseRack wmsWarehouseRack);

    /**
     * 修改货架信息
     *
     * @param wmsWarehouseRack 货架信息
     * @return 结果
     */
    public int updateWmsWarehouseRack(WmsWarehouseRack wmsWarehouseRack);

    /**
     * 批量删除货架信息
     *
     * @param rackIds 需要删除的货架信息主键集合
     * @return 结果
     */
    public int deleteWmsWarehouseRackByRackIds(Long[] rackIds);

    /**
     * 删除货架信息信息
     *
     * @param rackId 货架信息主键
     * @return 结果
     */
    public int deleteWmsWarehouseRackByRackId(Long rackId);

    public List<SelectVo> getWarehouseRackSelect();

    public List<SelectVo> getWarehouseRackSelectWarehouseAreaId(Long warehouseAreaId);


}
